#include "IFactory.h"
#include "IProduct.h"
#include <iostream>
using namespace std;

int
main(int argc , char* argv[])
{
	IFactory* factorya = new ConcreteFactoryA();
	factorya->CreateProductA();
	factorya->CreateProductB();

	IFactory* factoryb = new ConcreteFactoryB();
	factoryb->CreateProductA();
	factoryb->CreateProductB();

	return 0;
}


